package com.yckj.dao;

import org.junit.Test;

import static org.junit.Assert.*;

/**
 * @author Jing yaxian
 * @create 2022-12-31 13:17
 */
public class UserDaoTest {
    UserDao userDao = new UserDao();
    @Test
    public void insertUser() {
        int flag = userDao.insertUser("JingYaxian","12345");
        if(flag == 1){
            System.out.println("注册成功！");
        }else {
            System.out.println("注册失败！");
        }
    }
}